Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertex AI Gemini: support system messages and parallel tools/functions #1141

Merged
merged 3 commits into from
May 22, 2024

Conversation

glaforge
Copy link
Contributor

  • support system instructions
  • support parallel function calling
  • should avoid the allocation issue faced sometimes because of the lifecycle of the underlying VertexAI client object

Copy link
Owner

@langchain4j langchain4j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glaforge looks great, thank you!

.idea/icon.png Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢

- support system instructions
- support parallel function calling
- should avoid the allocation issue faced sometimes because of the lifecycle of the underlying VertexAI client object
- add test for parallel function calling
- use only one model as vision and non-vision are only a single model now
Copy link
Owner

@langchain4j langchain4j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glaforge great job, thank you!

@langchain4j langchain4j merged commit a49ac33 into langchain4j:main May 22, 2024
6 checks passed
@langchain4j langchain4j changed the title Gemini and Vertex AI update Vertex AI Gemini: support system messages and parallel tools/functions May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants